<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Open SCA: frameworks/libCF_StdPorts/src/RealOctet_p.cpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="customdoxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.onetek.net"><img alt="Logo" src="openscaLogo.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Open SCA
   &#160;<span id="projectnumber">Version 0.6.0</span>
   </div>
   <div id="projectbrief">Open SCA</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('_real_octet__p_8cpp_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">RealOctet_p.cpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_real_octet__p_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/***************************************************************************/</span><span class="comment">/****************************************************************************/</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;</div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#include &lt;iostream&gt;</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#ifdef __SDS_OS_VXWORKS__</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#include &quot;tickLib.h&quot;</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;</div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#include &quot;../include/RealOctet_p.h&quot;</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="preprocessor">#include &quot;../include/debug.h&quot;</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="class_standard_interfaces__i_1_1_real_octet__p.html#aaad873a8b16d914788d3f794c2a77057">   30</a></span>&#160;<a class="code" href="class_standard_interfaces__i_1_1_real_octet__p.html#aeef00ed430f4905a898c37a53091cb81">StandardInterfaces_i::RealOctet_p::RealOctet_p</a>(</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">char</span> * _name) :</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;        portName(_name) {</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;        <a class="code" href="class_standard_interfaces__i_1_1_real_octet__p.html#a9f110dabd80dc734df3206d3df570e71">data_servant</a> = <span class="keyword">new</span> <a class="code" href="class_real_octet_1_1provides_port.html">RealOctet::providesPort</a>(<span class="keyword">this</span>);</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;        <a class="code" href="class_standard_interfaces__i_1_1_real_octet__p.html#acbd929259c90fbbd7ef3036a55724db5">data_servant_var</a> = <a class="code" href="class_standard_interfaces__i_1_1_real_octet__p.html#a9f110dabd80dc734df3206d3df570e71">data_servant</a>-&gt;<a class="code" href="class_p_o_a___standard_interfaces_1_1_real_octet.html#ad33117defe0bce6f5ba7e395ce638497">_this</a>();</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;        <a class="code" href="class_standard_interfaces__i_1_1_real_octet__p.html#adc280800f2094dbaedf3c5a3aa452945">m_buffCtrl</a> = <span class="keyword">new</span> <a class="code" href="class_cyclic_buffer_controller.html">CyclicBufferController</a>();</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;        <a class="code" href="class_standard_interfaces__i_1_1_real_octet__p.html#adc280800f2094dbaedf3c5a3aa452945">m_buffCtrl</a>-&gt;<a class="code" href="class_cyclic_buffer_controller.html#a7e151b044dff0a4f4cedc0858c6fee2e">initializeDataBuf</a>(80960);</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;        <a class="code" href="classopensca_support_1_1_o_r_b___wrap.html">openscaSupport::ORB_Wrap</a> orb;</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;        std::string objName(_name);</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;        orb.<a class="code" href="classopensca_support_1_1_o_r_b___wrap.html#ac715b6ebcd53dd4a7c8702e8b8b10080">bind_object_to_string</a>((CORBA::Object_ptr) <a class="code" href="class_standard_interfaces__i_1_1_real_octet__p.html#acbd929259c90fbbd7ef3036a55724db5">data_servant_var</a>,</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;                                  objName.c_str());</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;}</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;</div><div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="class_standard_interfaces__i_1_1_real_octet__p.html#a7257249979a9cad1f9cc578a24a66751">   46</a></span>&#160;<a class="code" href="class_standard_interfaces__i_1_1_real_octet__p.html#a7257249979a9cad1f9cc578a24a66751">StandardInterfaces_i::RealOctet_p::~RealOctet_p</a>() {</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;        <a class="code" href="classopensca_support_1_1_o_r_b___wrap.html">openscaSupport::ORB_Wrap</a> orb;</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;        orb.<a class="code" href="classopensca_support_1_1_o_r_b___wrap.html#aca815f37d97bd257faadd1fbc9dbf933">unbind_string</a>(<a class="code" href="class_standard_interfaces__i_1_1_real_octet__p.html#a3ba70989fe75b76393da3cbc6bdcf196">portName</a>.c_str());</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;}</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;CORBA::Object_ptr</div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="class_standard_interfaces__i_1_1_real_octet__p.html#ac2daf11f2bb51c76c918463509e06794">   52</a></span>&#160;<a class="code" href="class_standard_interfaces__i_1_1_real_octet__p.html#ac2daf11f2bb51c76c918463509e06794">StandardInterfaces_i::RealOctet_p::getPort</a>(</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">char</span> * _portName) {</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;        <span class="keywordflow">if</span> (strcmp(<a class="code" href="class_standard_interfaces__i_1_1_real_octet__p.html#a3ba70989fe75b76393da3cbc6bdcf196">portName</a>.c_str(), _portName) == 0) {</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;                <a class="code" href="debug_8h.html#a4036580c4cea6cf404647d18f2fe3452">DEBUG</a>(7, <a class="code" href="namespace_real_octet.html">RealOctet</a>,</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;                      <span class="stringliteral">&quot;[StandardInterfaces_i::RealOctet_p] find port: &quot;</span> &lt;&lt; _portName)</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;                <span class="keywordflow">return</span> CORBA::Object::_duplicate(<a class="code" href="class_standard_interfaces__i_1_1_real_octet__p.html#acbd929259c90fbbd7ef3036a55724db5">data_servant_var</a>);</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;        } <span class="keywordflow">else</span> {</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;                <span class="keywordflow">return</span> CORBA::Object::_nil();</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;        }</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;}</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;<span class="keywordtype">void</span></div><div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="class_standard_interfaces__i_1_1_real_octet__p.html#a506363112292fe2e2a44f7bd7a214a69">   64</a></span>&#160;<a class="code" href="class_standard_interfaces__i_1_1_real_octet__p.html#a506363112292fe2e2a44f7bd7a214a69">StandardInterfaces_i::RealOctet_p::getData</a>(</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;    <a class="code" href="namespace_j_t_r_s.html#ae7847bbc4b95932f1b057cdd6c91d45b">JTRS::OctetSequence</a> &amp; data) {</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;        <a class="code" href="debug_8h.html#a4036580c4cea6cf404647d18f2fe3452">DEBUG</a>(5, [<a class="code" href="class_standard_interfaces__i_1_1_real_octet__p.html#a506363112292fe2e2a44f7bd7a214a69">RealOctet_p::getData</a>], <span class="stringliteral">&quot; enter...&quot;</span>)</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;        <span class="keywordtype">char</span>* recvData = <a class="code" href="class_standard_interfaces__i_1_1_real_octet__p.html#adc280800f2094dbaedf3c5a3aa452945">m_buffCtrl</a>-&gt;<a class="code" href="class_cyclic_buffer_controller.html#a6008ed913714ccd961bd8206d152cae2">readData</a>();</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;        <span class="keywordflow">if</span> (!recvData)</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;                <span class="keywordflow">return</span>;</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> payloadSize = 0;</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;        memcpy(&amp;payloadSize, recvData, 2);</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;        data.length(payloadSize);</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;        memcpy(data.get_buffer(), recvData + 2, payloadSize);</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;        <a class="code" href="debug_8h.html#a4036580c4cea6cf404647d18f2fe3452">DEBUG</a>(5, [<a class="code" href="class_standard_interfaces__i_1_1_real_octet__p.html#a506363112292fe2e2a44f7bd7a214a69">RealOctet_p::getData</a>], <span class="stringliteral">&quot; leave...&quot;</span>)</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;}</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;<span class="keywordtype">void</span> </div><div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="class_standard_interfaces__i_1_1_real_octet__p.html#ad0c755907691aa9d6a86aac2bedfefb3">   79</a></span>&#160;<a class="code" href="class_standard_interfaces__i_1_1_real_octet__p.html#ad0c755907691aa9d6a86aac2bedfefb3">StandardInterfaces_i::RealOctet_p::connectSlot</a>(</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;        <span class="keyword">const</span> <a class="code" href="class_standard_interfaces__i_1_1_real_octet__p.html#aa99a67c860ed272df54deee83a1b3ece">slotType</a> &amp; slot)</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;{</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;        <a class="code" href="class_standard_interfaces__i_1_1_real_octet__p.html#a207584e3169628fce7c49b87548ed104">m_signal</a>.connect(slot);</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;}</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;<span class="keywordtype">void</span></div><div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="class_standard_interfaces__i_1_1_real_octet__p.html#a877377987532285838677766efa20605">   86</a></span>&#160;<a class="code" href="class_standard_interfaces__i_1_1_real_octet__p.html#a877377987532285838677766efa20605">StandardInterfaces_i::RealOctet_p::disconnectSlot</a>()</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;{</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;        <a class="code" href="class_standard_interfaces__i_1_1_real_octet__p.html#a207584e3169628fce7c49b87548ed104">m_signal</a>.disconnect_all_slots();</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;}</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;</div><div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="class_real_octet_1_1provides_port.html#a30f1fb7b2681082d9b7fe16eb560744c">   91</a></span>&#160;<a class="code" href="class_real_octet_1_1provides_port.html#a30f1fb7b2681082d9b7fe16eb560744c">RealOctet::providesPort::providesPort</a>(</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;    <a class="code" href="class_standard_interfaces__i_1_1_real_octet__p.html">StandardInterfaces_i::RealOctet_p</a> * _base) :</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;        base(_base) {</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;}</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;</div><div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="class_real_octet_1_1provides_port.html#a258b0c8484124b1fdd45a96764bd55c8">   97</a></span>&#160;<a class="code" href="class_real_octet_1_1provides_port.html#a258b0c8484124b1fdd45a96764bd55c8">RealOctet::providesPort::~providesPort</a>() {</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;}</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;</div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;<span class="keywordtype">void</span></div><div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="class_real_octet_1_1provides_port.html#ab4be8c72d8162349ae605cbf2e89f7cd">  102</a></span>&#160;<a class="code" href="class_real_octet_1_1provides_port.html#ab4be8c72d8162349ae605cbf2e89f7cd">RealOctet::providesPort::pushPacket</a>(</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;    <span class="keyword">const</span> <a class="code" href="namespace_j_t_r_s.html#ae7847bbc4b95932f1b057cdd6c91d45b">JTRS::OctetSequence</a> &amp; data) {</div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;</div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;        <a class="code" href="debug_8h.html#a4036580c4cea6cf404647d18f2fe3452">DEBUG</a>(5, [RealOctet_p::pushPacket], <span class="stringliteral">&quot; enter...&quot;</span>)</div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;</div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> sendLen = data.length();</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;        <span class="keywordtype">char</span> sendBuff[sendLen] = {};</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;        memcpy(sendBuff, data.get_buffer(), sendLen);</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;        <span class="keywordtype">bool</span> ret = (<a class="code" href="class_real_octet_1_1provides_port.html#a08e663dfe2547ed4a46ca362b74878e3">base</a>-&gt;<a class="code" href="class_standard_interfaces__i_1_1_real_octet__p.html#adc280800f2094dbaedf3c5a3aa452945">m_buffCtrl</a>)-&gt;writeData(sendBuff, sendLen);</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;        <span class="keywordflow">if</span> (!ret)</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;        {</div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;                <a class="code" href="debug_8h.html#a4036580c4cea6cf404647d18f2fe3452">DEBUG</a>(7, <a class="code" href="namespace_real_octet.html">RealOctet</a>, </div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;                        <span class="stringliteral">&quot;providesPort::wirteData falied, portName is: &quot;</span> &lt;&lt; <a class="code" href="class_real_octet_1_1provides_port.html#a08e663dfe2547ed4a46ca362b74878e3">base</a>-&gt;<a class="code" href="class_standard_interfaces__i_1_1_real_octet__p.html#a3ba70989fe75b76393da3cbc6bdcf196">portName</a>)</div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;                <span class="keywordflow">return</span>;</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;        }</div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;        <a class="code" href="class_real_octet_1_1provides_port.html#a08e663dfe2547ed4a46ca362b74878e3">base</a>-&gt;<a class="code" href="class_standard_interfaces__i_1_1_real_octet__p.html#a207584e3169628fce7c49b87548ed104">m_signal</a>();</div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;        <a class="code" href="debug_8h.html#a4036580c4cea6cf404647d18f2fe3452">DEBUG</a>(5, [RealOctet_p::pushPacket], <span class="stringliteral">&quot; leave...&quot;</span>)</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;}</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;</div><div class="ttc" id="class_real_octet_1_1provides_port_html_a30f1fb7b2681082d9b7fe16eb560744c"><div class="ttname"><a href="class_real_octet_1_1provides_port.html#a30f1fb7b2681082d9b7fe16eb560744c">RealOctet::providesPort::providesPort</a></div><div class="ttdeci">providesPort(StandardInterfaces_i::RealOctet_p *_base)</div><div class="ttdef"><b>Definition:</b> <a href="_real_octet__p_8cpp_source.html#l00091">RealOctet_p.cpp:91</a></div></div>
<div class="ttc" id="class_real_octet_1_1provides_port_html"><div class="ttname"><a href="class_real_octet_1_1provides_port.html">RealOctet::providesPort</a></div><div class="ttdef"><b>Definition:</b> <a href="_real_octet__p_8h_source.html#l00103">RealOctet_p.h:103</a></div></div>
<div class="ttc" id="namespace_j_t_r_s_html_ae7847bbc4b95932f1b057cdd6c91d45b"><div class="ttname"><a href="namespace_j_t_r_s.html#ae7847bbc4b95932f1b057cdd6c91d45b">JTRS::OctetSequence</a></div><div class="ttdeci">CF::OctetSequence OctetSequence</div><div class="ttdef"><b>Definition:</b> <a href="_j_t_r_s_corba_types_c_8h_source.html#l00148">JTRSCorbaTypesC.h:148</a></div></div>
<div class="ttc" id="class_standard_interfaces__i_1_1_real_octet__p_html_acbd929259c90fbbd7ef3036a55724db5"><div class="ttname"><a href="class_standard_interfaces__i_1_1_real_octet__p.html#acbd929259c90fbbd7ef3036a55724db5">StandardInterfaces_i::RealOctet_p::data_servant_var</a></div><div class="ttdeci">StandardInterfaces::RealOctet_var data_servant_var</div><div class="ttdef"><b>Definition:</b> <a href="_real_octet__p_8h_source.html#l00091">RealOctet_p.h:91</a></div></div>
<div class="ttc" id="class_real_octet_1_1provides_port_html_a258b0c8484124b1fdd45a96764bd55c8"><div class="ttname"><a href="class_real_octet_1_1provides_port.html#a258b0c8484124b1fdd45a96764bd55c8">RealOctet::providesPort::~providesPort</a></div><div class="ttdeci">~providesPort()</div><div class="ttdef"><b>Definition:</b> <a href="_real_octet__p_8cpp_source.html#l00097">RealOctet_p.cpp:97</a></div></div>
<div class="ttc" id="class_standard_interfaces__i_1_1_real_octet__p_html_a877377987532285838677766efa20605"><div class="ttname"><a href="class_standard_interfaces__i_1_1_real_octet__p.html#a877377987532285838677766efa20605">StandardInterfaces_i::RealOctet_p::disconnectSlot</a></div><div class="ttdeci">void disconnectSlot()</div><div class="ttdef"><b>Definition:</b> <a href="_real_octet__p_8cpp_source.html#l00086">RealOctet_p.cpp:86</a></div></div>
<div class="ttc" id="class_standard_interfaces__i_1_1_real_octet__p_html_aa99a67c860ed272df54deee83a1b3ece"><div class="ttname"><a href="class_standard_interfaces__i_1_1_real_octet__p.html#aa99a67c860ed272df54deee83a1b3ece">StandardInterfaces_i::RealOctet_p::slotType</a></div><div class="ttdeci">boost::signals2::signal&lt; void()&gt;::slot_type slotType</div><div class="ttdef"><b>Definition:</b> <a href="_real_octet__p_8h_source.html#l00053">RealOctet_p.h:53</a></div></div>
<div class="ttc" id="namespace_real_octet_html"><div class="ttname"><a href="namespace_real_octet.html">RealOctet</a></div><div class="ttdef"><b>Definition:</b> <a href="_real_octet__p_8h_source.html#l00041">RealOctet_p.h:41</a></div></div>
<div class="ttc" id="class_real_octet_1_1provides_port_html_ab4be8c72d8162349ae605cbf2e89f7cd"><div class="ttname"><a href="class_real_octet_1_1provides_port.html#ab4be8c72d8162349ae605cbf2e89f7cd">RealOctet::providesPort::pushPacket</a></div><div class="ttdeci">void pushPacket(const JTRS::OctetSequence &amp;data)</div><div class="ttdoc">The operation is called by uses port to send data to this provides port. </div><div class="ttdef"><b>Definition:</b> <a href="_real_octet__p_8cpp_source.html#l00102">RealOctet_p.cpp:102</a></div></div>
<div class="ttc" id="class_cyclic_buffer_controller_html_a6008ed913714ccd961bd8206d152cae2"><div class="ttname"><a href="class_cyclic_buffer_controller.html#a6008ed913714ccd961bd8206d152cae2">CyclicBufferController::readData</a></div><div class="ttdeci">char * readData()</div><div class="ttdoc">Read data form buffer, a packet one time. </div><div class="ttdef"><b>Definition:</b> <a href="_cyclic_buffer_controller_8cpp_source.html#l00141">CyclicBufferController.cpp:141</a></div></div>
<div class="ttc" id="class_cyclic_buffer_controller_html"><div class="ttname"><a href="class_cyclic_buffer_controller.html">CyclicBufferController</a></div><div class="ttdoc">The class managers a buffer which used to store data form bus and privide data to waveform...</div><div class="ttdef"><b>Definition:</b> <a href="_cyclic_buffer_controller_8h_source.html#l00020">CyclicBufferController.h:20</a></div></div>
<div class="ttc" id="debug_8h_html_a4036580c4cea6cf404647d18f2fe3452"><div class="ttname"><a href="debug_8h.html#a4036580c4cea6cf404647d18f2fe3452">DEBUG</a></div><div class="ttdeci">#define DEBUG(level, title, debuginfo)</div><div class="ttdef"><b>Definition:</b> <a href="debug_8h_source.html#l00055">debug.h:55</a></div></div>
<div class="ttc" id="class_standard_interfaces__i_1_1_real_octet__p_html_a506363112292fe2e2a44f7bd7a214a69"><div class="ttname"><a href="class_standard_interfaces__i_1_1_real_octet__p.html#a506363112292fe2e2a44f7bd7a214a69">StandardInterfaces_i::RealOctet_p::getData</a></div><div class="ttdeci">void getData(JTRS::OctetSequence &amp;data)</div><div class="ttdoc">The operation shall receive data the send form the uses port who connect with this porvides port...</div><div class="ttdef"><b>Definition:</b> <a href="_real_octet__p_8cpp_source.html#l00064">RealOctet_p.cpp:64</a></div></div>
<div class="ttc" id="class_standard_interfaces__i_1_1_real_octet__p_html_a207584e3169628fce7c49b87548ed104"><div class="ttname"><a href="class_standard_interfaces__i_1_1_real_octet__p.html#a207584e3169628fce7c49b87548ed104">StandardInterfaces_i::RealOctet_p::m_signal</a></div><div class="ttdeci">signalDef m_signal</div><div class="ttdef"><b>Definition:</b> <a href="_real_octet__p_8h_source.html#l00095">RealOctet_p.h:95</a></div></div>
<div class="ttc" id="class_standard_interfaces__i_1_1_real_octet__p_html_a9f110dabd80dc734df3206d3df570e71"><div class="ttname"><a href="class_standard_interfaces__i_1_1_real_octet__p.html#a9f110dabd80dc734df3206d3df570e71">StandardInterfaces_i::RealOctet_p::data_servant</a></div><div class="ttdeci">RealOctet::providesPort * data_servant</div><div class="ttdef"><b>Definition:</b> <a href="_real_octet__p_8h_source.html#l00090">RealOctet_p.h:90</a></div></div>
<div class="ttc" id="class_standard_interfaces__i_1_1_real_octet__p_html_aeef00ed430f4905a898c37a53091cb81"><div class="ttname"><a href="class_standard_interfaces__i_1_1_real_octet__p.html#aeef00ed430f4905a898c37a53091cb81">StandardInterfaces_i::RealOctet_p::RealOctet_p</a></div><div class="ttdeci">RealOctet_p()</div></div>
<div class="ttc" id="class_standard_interfaces__i_1_1_real_octet__p_html_ac2daf11f2bb51c76c918463509e06794"><div class="ttname"><a href="class_standard_interfaces__i_1_1_real_octet__p.html#ac2daf11f2bb51c76c918463509e06794">StandardInterfaces_i::RealOctet_p::getPort</a></div><div class="ttdeci">CORBA::Object_ptr getPort(const char *portName)</div><div class="ttdef"><b>Definition:</b> <a href="_real_octet__p_8cpp_source.html#l00052">RealOctet_p.cpp:52</a></div></div>
<div class="ttc" id="class_standard_interfaces__i_1_1_real_octet__p_html"><div class="ttname"><a href="class_standard_interfaces__i_1_1_real_octet__p.html">StandardInterfaces_i::RealOctet_p</a></div><div class="ttdoc">The class is the encapsulation of componet&amp;#39;s provides port, providing two operations for component to...</div><div class="ttdef"><b>Definition:</b> <a href="_real_octet__p_8h_source.html#l00051">RealOctet_p.h:51</a></div></div>
<div class="ttc" id="class_real_octet_1_1provides_port_html_a08e663dfe2547ed4a46ca362b74878e3"><div class="ttname"><a href="class_real_octet_1_1provides_port.html#a08e663dfe2547ed4a46ca362b74878e3">RealOctet::providesPort::base</a></div><div class="ttdeci">StandardInterfaces_i::RealOctet_p * base</div><div class="ttdef"><b>Definition:</b> <a href="_real_octet__p_8h_source.html#l00123">RealOctet_p.h:123</a></div></div>
<div class="ttc" id="class_p_o_a___standard_interfaces_1_1_real_octet_html_ad33117defe0bce6f5ba7e395ce638497"><div class="ttname"><a href="class_p_o_a___standard_interfaces_1_1_real_octet.html#ad33117defe0bce6f5ba7e395ce638497">POA_StandardInterfaces::RealOctet::_this</a></div><div class="ttdeci">::StandardInterfaces::RealOctet * _this(void)</div><div class="ttdef"><b>Definition:</b> <a href="_real_octet_s_8cpp_source.html#l00669">RealOctetS.cpp:669</a></div></div>
<div class="ttc" id="class_standard_interfaces__i_1_1_real_octet__p_html_adc280800f2094dbaedf3c5a3aa452945"><div class="ttname"><a href="class_standard_interfaces__i_1_1_real_octet__p.html#adc280800f2094dbaedf3c5a3aa452945">StandardInterfaces_i::RealOctet_p::m_buffCtrl</a></div><div class="ttdeci">CyclicBufferController * m_buffCtrl</div><div class="ttdef"><b>Definition:</b> <a href="_real_octet__p_8h_source.html#l00097">RealOctet_p.h:97</a></div></div>
<div class="ttc" id="class_standard_interfaces__i_1_1_real_octet__p_html_ad0c755907691aa9d6a86aac2bedfefb3"><div class="ttname"><a href="class_standard_interfaces__i_1_1_real_octet__p.html#ad0c755907691aa9d6a86aac2bedfefb3">StandardInterfaces_i::RealOctet_p::connectSlot</a></div><div class="ttdeci">void connectSlot(const slotType &amp;slot)</div><div class="ttdef"><b>Definition:</b> <a href="_real_octet__p_8cpp_source.html#l00079">RealOctet_p.cpp:79</a></div></div>
<div class="ttc" id="classopensca_support_1_1_o_r_b___wrap_html"><div class="ttname"><a href="classopensca_support_1_1_o_r_b___wrap.html">openscaSupport::ORB_Wrap</a></div><div class="ttdoc">The ORB class wrap basic option for orb such as orb_init/get_POA/get_NamingContext/bind/unbind and so...</div><div class="ttdef"><b>Definition:</b> <a href="opensca_support_8h_source.html#l00044">openscaSupport.h:44</a></div></div>
<div class="ttc" id="class_standard_interfaces__i_1_1_real_octet__p_html_a7257249979a9cad1f9cc578a24a66751"><div class="ttname"><a href="class_standard_interfaces__i_1_1_real_octet__p.html#a7257249979a9cad1f9cc578a24a66751">StandardInterfaces_i::RealOctet_p::~RealOctet_p</a></div><div class="ttdeci">~RealOctet_p()</div><div class="ttdef"><b>Definition:</b> <a href="_real_octet__p_8cpp_source.html#l00046">RealOctet_p.cpp:46</a></div></div>
<div class="ttc" id="classopensca_support_1_1_o_r_b___wrap_html_ac715b6ebcd53dd4a7c8702e8b8b10080"><div class="ttname"><a href="classopensca_support_1_1_o_r_b___wrap.html#ac715b6ebcd53dd4a7c8702e8b8b10080">openscaSupport::ORB_Wrap::bind_object_to_string</a></div><div class="ttdeci">void bind_object_to_string(CORBA::Object_ptr obj, const CosNaming::NamingContext_ptr nc, const char *name)</div><div class="ttdoc">The operation shall bind object to string in specified naming context. </div></div>
<div class="ttc" id="classopensca_support_1_1_o_r_b___wrap_html_aca815f37d97bd257faadd1fbc9dbf933"><div class="ttname"><a href="classopensca_support_1_1_o_r_b___wrap.html#aca815f37d97bd257faadd1fbc9dbf933">openscaSupport::ORB_Wrap::unbind_string</a></div><div class="ttdeci">void unbind_string(const CosNaming::NamingContext_ptr nc, const char *name)</div><div class="ttdoc">unbind name(convert string) from specified naming context </div></div>
<div class="ttc" id="class_standard_interfaces__i_1_1_real_octet__p_html_a3ba70989fe75b76393da3cbc6bdcf196"><div class="ttname"><a href="class_standard_interfaces__i_1_1_real_octet__p.html#a3ba70989fe75b76393da3cbc6bdcf196">StandardInterfaces_i::RealOctet_p::portName</a></div><div class="ttdeci">std::string portName</div><div class="ttdef"><b>Definition:</b> <a href="_real_octet__p_8h_source.html#l00088">RealOctet_p.h:88</a></div></div>
<div class="ttc" id="class_cyclic_buffer_controller_html_a7e151b044dff0a4f4cedc0858c6fee2e"><div class="ttname"><a href="class_cyclic_buffer_controller.html#a7e151b044dff0a4f4cedc0858c6fee2e">CyclicBufferController::initializeDataBuf</a></div><div class="ttdeci">bool initializeDataBuf(unsigned int bufSize)</div><div class="ttdoc">Initialize data buffer, allocate memory which size is determined by input parameter. </div><div class="ttdef"><b>Definition:</b> <a href="_cyclic_buffer_controller_8cpp_source.html#l00054">CyclicBufferController.cpp:54</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.13-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_27e7b6da28153e106312658788f622d3.html">frameworks</a></li><li class="navelem"><a class="el" href="dir_415fd844ad1371cc0541b88918b9f3f6.html">libCF_StdPorts</a></li><li class="navelem"><a class="el" href="dir_d2fc98ce36498895d2f435dea38315b0.html">src</a></li><li class="navelem"><a class="el" href="_real_octet__p_8cpp.html">RealOctet_p.cpp</a></li>
    <li class="footer">Generated on Fri Jul 12 2019 14:31:53 for
    <a href="http://www.onetek.net">
    <img class="footer" src="openscaLogo.png" height="31" alt="openSCA"/></a>
    </li>
  </ul>
</div>
</body>
</html>
